###############################################################
##
##	This package should remove some script included by default 
##  in X-Wrt
##
###############################################################
include $(TOPDIR)/rules.mk

PKG_NAME:=urbalink-cleanner
PKG_VERSION:=0.0
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

include $(INCLUDE_DIR)/package.mk

define Package/urbalink-cleanner
  SECTION:=admin
  CATEGORY:=Administration
  SUBMENU:=Urbalink Stuff
  DEPENDS:=+urbalink-donothing
  TITLE:=Remove some script by defaul in X-Wrt unused in Urbalink Customization
  VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
endef

define Build/Prepare
	$(call Build/Prepare/Default)
	$(CP) -a ipkg/* $(PKG_BUILD_DIR)
endef

define Build/Configure
endef

define Build/Compile
endef

define Package/urbalink-cleanner/install
	mkdir -p $(1)/CONTROL
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/urbalink-cleanner.postinst $(1)/CONTROL/postinst
endef

$(eval $(call BuildPackage,urbalink-cleanner))
